import {Post} from "@/axios/api.js";
import {ElMessage} from "element-plus";

export const waterEnvironmentCapacity  = ()=>{
    // 请求后端展示水环境容量
    Post('/River/RiverInterpolation',{}).then((response) => {
        const { code, msg,data: res } = response.data;
        if (code === 200) {
            ElMessage.success(msg ?? "统计中");
        } else {
            ElMessage.error("未能成功统计");
        }
    })
}